package cn.com.api.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiTags;
import cn.com.api.mapper.ApiTagsMapper;
import cn.com.api.service.ApiTagsService;

@Service
public class ApiTagsServiceImpl implements ApiTagsService {

	@Autowired
	private ApiTagsMapper tagsMapper;

	@Override
	public List<ApiTags> getTopTags(int limit) {
		return tagsMapper.getTopTags(limit);
	}

}
